package com.app.miwawa.api.esm.entity.customer;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.framework.common.api.entity.CommonEntityUUID;

/**
 * 地址信息
 * <p>描述: 客户资料</p>
 * <p>Company: Professional</p>
 * @author chanlong(陈龙)
 * @date 2016年1月24日 下午5:00:46
 * @version 1.0.2016
 */
@Entity @Table(name = "TB_ESM_CUSTOMER_ADDRESS")
public class Address extends CommonEntityUUID {

	/** serialVersionUID(long):. */
	private static final long serialVersionUID = -332875773110959604L;
	
	// 省份
	@Column(name = "province", length = 10, nullable = true)
	private	String province;
	
	// 地州
	@Column(name = "prefecture", length = 10, nullable = true)
	private String prefecture;
	
	// 区县
	@Column(name = "county", length = 10, nullable = true)
	private String county;

	// 详细地址
	@Column(name = "detail", length = 100, nullable = true)
	private String detail;
	
	// 邮编
	@Column(name = "zipcode", length = 10, nullable = true)
	private String zipcode;
	
	// 固话
	@Column(name = "telephone", length = 15, nullable = true)
	private String telephone;
	
	// 客户资料ID
	@Column(name = "customer_id", length = 50, nullable = true)
	private String customerId;

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getPrefecture() {
		return prefecture;
	}

	public void setPrefecture(String prefecture) {
		this.prefecture = prefecture;
	}

	public String getCounty() {
		return county;
	}

	public void setCounty(String county) {
		this.county = county;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public String getZipcode() {
		return zipcode;
	}

	public void setZipcode(String zipcode) {
		this.zipcode = zipcode;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getCustomerId() {
		return customerId;
	}

	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}
	
}
